<?php
//dezend by http://www.yunlu99.com/ QQ:270656184
defined('BASEPATH') || exit('No direct script access allowed');
?><div class="user-body">
  	<div class="body-content">
      
      <div class="list">
      	<div class="tab-box">
      		<a href="<?php echo site_url('push_log');?>?flag=0" 
<?php
if ($flag == 0) {
?>class="on"<?php
}

?>>我的PUSH</a>
      		<a href="<?php echo site_url('push_log');?>?flag=1" 
<?php
if ($flag == 1) {
?>class="on"<?php
}

?>>发起的求购</a>
      	</div>
      	<table cellspacing=0 cellpadding=0 border=0>
			<thead>
				<tr>
					<th>币种</th>
					<th>数量</th>
					<th>总金额</th>
					<th>时间</th>
				</tr>
			</thead>
			<tbody>
			    
<?php
foreach ($list as $v) {
?>				<tr>
					<td><?php echo $v['coin']['cn_name'];?></td>
					<td><?php echo $v['amount'];?></td>
					<td><?php echo $v['total'];?></td>
					<td><?php echo date('Y-m-d H:i', $v['add_time']);?></td>
				</tr>
				<?php
}

?>			</tbody>
		</table>
		<div class="page">
		  <?php echo $page;?>		</div>
		
<?php
if (!$list) {
?>		<div class="not-list">
			<i class="fa fa-ban"></i>
			<span><?php echo lang('user_not_list');?></span>
		</div>
		<?php
}

?>		<div class="clear"></div>
      </div>
    </div>
  </div>
  <div class="clear"></div>
</div>